package com.zelix;

import java.io.*;

class yd extends kd
{

    static String g[];
    int h;

    yd(jb jb)
        throws IOException
    {
        super(188);
        h = jb.read();
    }

    public sn a(sn sn1, boolean flag, boolean flag1, um um)
    {
        wn awn1[];
        wn awn2[];
label0:
        {
            int j = kd.e;
            wn awn[] = sn1.c();
            awn1 = sn1.f();
            int i = awn.length;
            awn2 = wn.a(i);
            System.arraycopy(awn, 0, awn2, 0, i - 1);
            switch(h)
            {
            case 4: // '\004'
                awn2[i - 1] = wn.v;
                if(j == 0)
                    break label0;
                // fall through

            case 5: // '\005'
                awn2[i - 1] = wn.w;
                if(j == 0)
                    break label0;
                // fall through

            case 6: // '\006'
                awn2[i - 1] = wn.A;
                if(j == 0)
                    break label0;
                // fall through

            case 7: // '\007'
                awn2[i - 1] = wn.B;
                if(j == 0)
                    break label0;
                // fall through

            case 8: // '\b'
                awn2[i - 1] = wn.u;
                if(j == 0)
                    break label0;
                // fall through

            case 9: // '\t'
                awn2[i - 1] = wn.x;
                if(j == 0)
                    break label0;
                // fall through

            case 10: // '\n'
                awn2[i - 1] = wn.y;
                if(j == 0)
                    break label0;
                // fall through

            case 11: // '\013'
                awn2[i - 1] = wn.z;
                if(j == 0)
                    break label0;
                // fall through

            default:
                lx.b(false, h);
                break;
            }
        }
        return new sn(awn2, awn1, sn1.e());
    }

    public final boolean b()
    {
        return true;
    }

    public final boolean a(int i, int j)
    {
        return i == j - 1;
    }

    public final boolean c()
    {
        return false;
    }

    public void a(PrintWriter printwriter, StringBuffer stringbuffer, int i)
    {
        StringBuffer stringbuffer1 = new StringBuffer(100);
        String s = kd.h(super.d);
        stringbuffer1.append(s + " " + h);
        String s1 = g[h];
        String s2 = kd.e(super.d);
        s2 = kd.a(s2, s1);
        if(s2 != null)
            stringbuffer1.append("\t" + s2);
        printwriter.println(stringbuffer.toString() + stringbuffer.toString() + stringbuffer1);
    }

    public int d()
    {
        return 2;
    }

    public boolean o()
    {
        return true;
    }

    public void a(DataOutputStream dataoutputstream)
        throws IOException
    {
        super.a(dataoutputstream);
        dataoutputstream.writeByte(h);
    }

    private static String z(char[] chs) {
        byte key = 0;
        for (int i = 0; i < chs.length; i++) {
            switch (i % 5) {
                case 0:
                    key =0xe;
                    break;
                case 1:
                    key =50;
                    break;
                case 2:
                    key =48;
                    break;
                case 3:
                    key =11;
                    break;
                case 4:
                    key =110;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static 
    {
        g = new String[12];
        g[4] = z("l]_g\013o\\".toCharArray());
        g[5] = z("mZQy".toCharArray());
        g[6] = z("h^_j\032".toCharArray());
        g[7] = z("j]Ei\002k".toCharArray());
        g[8] = z("lKDn".toCharArray());
        g[9] = z("}Z_y\032".toCharArray());
        g[10] = z("g\\D".toCharArray());
        g[11] = z("b]^l".toCharArray());
    }
}
